public class Bird extends Animal {
    public Bird(String name) {
        super(name);
    }
    
    @Override
    public void makeSound() {
        System.out.println(name + " says: Tweet! Tweet!");
    }
    
    // Bird类特有的方法
    public void fly() {
        System.out.println(name + " is flying");
    }
}